package com.atXiao.video.common.rspEnum;

//响应码枚举
public enum BaseRespEnum {
    LOGIN_FAIL(100000, "用户名或密码错误"),
    LOGIN_PASSWORD_USERNAME_ERROR(100001, "用户名或密码为空"),
    LOGIN_WITHOUT_USER(100002, "无此用户"),
    EMPTY_FILE(100003, "上传的文件为空"),
    CANT_SUBSCRIBE(100004,"私密用户无法关注"),
    SUBLIST_NOT_NULL(100005,"已经关注过了");

    private Integer code;
    private String msg;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private BaseRespEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
